package com.ywqf_api.dto.exc;

import com.ywqf_api.base.BaseAPIExcution;
import com.ywqf_api.enums.HouseEnum;

public class HouseExcution extends BaseAPIExcution {
    public HouseExcution(HouseEnum houseEnum, Object data) {
        this.code = houseEnum.getCode();
        this.data = data;
        this.message = houseEnum.getMessage();
    }



    public HouseExcution(HouseEnum houseEnum) {
        this.code = houseEnum.getCode();
        this.message = houseEnum.getMessage();
    }
}
